package seismosurfer.data;

import seismosurfer.util.Assert;

/**
 * A Data Transfer Object to represent information for a data source.
 *
 */
public class SourceData extends DataTransferObject {
   
    private static final long serialVersionUID = -9088754375437202906L;

    private long lastUpdate;

    private String source;

    public static float GINOA_LAT = 38.25f;

    public static float GINOA_LNG = 23.45f;

    public static float NEIC_LAT = 0.0f;

    public static float NEIC_LNG = 0.0f;

    public SourceData(String source, long lastUpdate) {
        Assert.notNull(source);

        this.source = source;
        this.lastUpdate = lastUpdate;
    }

    public long getLastUpdate() {
        return lastUpdate;
    }

    public String getSource() {
        return source;
    }

}